local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1, L24_1, L25_1, L26_1, L27_1, L28_1, L29_1, L30_1, L31_1, L32_1, L33_1, L34_1, L35_1, L36_1, L37_1, L38_1, L39_1, L40_1, L41_1, L42_1, L43_1, L44_1
L0_1 = {}
L0_1.group_id = 220010006
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 42
L2_1.gadget_id = 70380001
L3_1 = {}
L3_1.x = 380.439
L3_1.y = -41.2
L3_1.z = 24.964
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.route_id = 20010009
L2_1.start_route = false
L3_1 = {}
L3_1.config_id = 43
L3_1.gadget_id = 70350004
L4_1 = {}
L4_1.x = 380.51
L4_1.y = -34.464
L4_1.z = 15.704
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 44
L4_1.gadget_id = 70350004
L5_1 = {}
L5_1.x = 388.765
L5_1.y = -34.554
L5_1.z = 3.352
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 90.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = {}
L5_1.config_id = 46
L5_1.gadget_id = 70360016
L6_1 = {}
L6_1.x = 388.445
L6_1.y = -31.898
L6_1.z = 28.067
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 90.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L6_1.config_id = 47
L6_1.gadget_id = 70360016
L7_1 = {}
L7_1.x = 388.66
L7_1.y = -32.047
L7_1.z = 25.179
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 90.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 48
L7_1.gadget_id = 70360019
L8_1 = {}
L8_1.x = 386.834
L8_1.y = -31.136
L8_1.z = 15.619
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 90.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 50
L8_1.gadget_id = 70360016
L9_1 = {}
L9_1.x = 386.992
L9_1.y = -27.484
L9_1.z = 0.366
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 86.48
L9_1.y = 0.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 51
L9_1.gadget_id = 70360016
L10_1 = {}
L10_1.x = 384.682
L10_1.y = -27.348
L10_1.z = 0.333
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 90.0
L10_1.y = 0.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L10_1 = {}
L10_1.config_id = 53
L10_1.gadget_id = 70360019
L11_1 = {}
L11_1.x = 388.58
L11_1.y = -27.753
L11_1.z = 3.424
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 90.0
L11_1.y = 270.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L11_1 = {}
L11_1.config_id = 54
L11_1.gadget_id = 70900023
L12_1 = {}
L12_1.x = 379.21
L12_1.y = -42.168
L12_1.z = 26.368
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 0.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L12_1 = {}
L12_1.config_id = 84
L12_1.gadget_id = 70360016
L13_1 = {}
L13_1.x = 377.309
L13_1.y = -32.391
L13_1.z = 7.232
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 180.0
L13_1.z = 90.0
L12_1.rot = L13_1
L12_1.level = 1
L13_1 = {}
L13_1.config_id = 85
L13_1.gadget_id = 70360016
L14_1 = {}
L14_1.x = 377.246
L14_1.y = -29.808
L14_1.z = 1.0
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 180.0
L14_1.z = 90.0
L13_1.rot = L14_1
L13_1.level = 1
L14_1 = {}
L14_1.config_id = 89
L14_1.gadget_id = 70360016
L15_1 = {}
L15_1.x = 388.33
L15_1.y = -32.03
L15_1.z = 21.507
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 270.0
L15_1.y = 90.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L15_1 = {}
L15_1.config_id = 92
L15_1.gadget_id = 70360016
L16_1 = {}
L16_1.x = 388.681
L16_1.y = -32.466
L16_1.z = 18.238
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 0.0
L16_1.z = 90.0
L15_1.rot = L16_1
L15_1.level = 1
L16_1 = {}
L16_1.config_id = 96
L16_1.gadget_id = 70900023
L17_1 = {}
L17_1.x = 389.031
L17_1.y = -42.168
L17_1.z = 26.368
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 0.0
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L17_1 = {}
L17_1.config_id = 97
L17_1.gadget_id = 70900023
L18_1 = {}
L18_1.x = 384.131
L18_1.y = -42.168
L18_1.z = 26.368
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 0.0
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L18_1 = {}
L18_1.config_id = 98
L18_1.gadget_id = 70900023
L19_1 = {}
L19_1.x = 379.21
L19_1.y = -42.168
L19_1.z = 21.385
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 0.0
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 1
L19_1 = {}
L19_1.config_id = 99
L19_1.gadget_id = 70900023
L20_1 = {}
L20_1.x = 384.08
L20_1.y = -42.168
L20_1.z = 21.456
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 0.0
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L20_1 = {}
L20_1.config_id = 100
L20_1.gadget_id = 70900023
L21_1 = {}
L21_1.x = 389.074
L21_1.y = -42.168
L21_1.z = 21.44
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 0.0
L21_1.y = 0.0
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 1
L21_1 = {}
L21_1.config_id = 101
L21_1.gadget_id = 70900023
L22_1 = {}
L22_1.x = 388.119
L22_1.y = -42.168
L22_1.z = 16.452
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 0.0
L22_1.y = 0.0
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 1
L22_1 = {}
L22_1.config_id = 102
L22_1.gadget_id = 70900023
L23_1 = {}
L23_1.x = 381.339
L23_1.y = -42.168
L23_1.z = 16.492
L22_1.pos = L23_1
L23_1 = {}
L23_1.x = 0.0
L23_1.y = 0.0
L23_1.z = 0.0
L22_1.rot = L23_1
L22_1.level = 1
L23_1 = {}
L23_1.config_id = 103
L23_1.gadget_id = 70900023
L24_1 = {}
L24_1.x = 381.339
L24_1.y = -42.168
L24_1.z = 11.541
L23_1.pos = L24_1
L24_1 = {}
L24_1.x = 0.0
L24_1.y = 0.0
L24_1.z = 0.0
L23_1.rot = L24_1
L23_1.level = 1
L24_1 = {}
L24_1.config_id = 104
L24_1.gadget_id = 70900023
L25_1 = {}
L25_1.x = 381.339
L25_1.y = -42.168
L25_1.z = 6.572
L24_1.pos = L25_1
L25_1 = {}
L25_1.x = 0.0
L25_1.y = 0.0
L25_1.z = 0.0
L24_1.rot = L25_1
L24_1.level = 1
L25_1 = {}
L25_1.config_id = 105
L25_1.gadget_id = 70900023
L26_1 = {}
L26_1.x = 381.339
L26_1.y = -42.168
L26_1.z = 1.6
L25_1.pos = L26_1
L26_1 = {}
L26_1.x = 0.0
L26_1.y = 0.0
L26_1.z = 0.0
L25_1.rot = L26_1
L25_1.level = 1
L26_1 = {}
L26_1.config_id = 106
L26_1.gadget_id = 70900023
L27_1 = {}
L27_1.x = 386.346
L27_1.y = -42.168
L27_1.z = 1.401
L26_1.pos = L27_1
L27_1 = {}
L27_1.x = 0.0
L27_1.y = 0.0
L27_1.z = 0.0
L26_1.rot = L27_1
L26_1.level = 1
L27_1 = {}
L27_1.config_id = 107
L27_1.gadget_id = 70900023
L28_1 = {}
L28_1.x = 391.359
L28_1.y = -42.168
L28_1.z = 1.401
L27_1.pos = L28_1
L28_1 = {}
L28_1.x = 0.0
L28_1.y = 0.0
L28_1.z = 0.0
L27_1.rot = L28_1
L27_1.level = 1
L28_1 = {}
L28_1.config_id = 108
L28_1.gadget_id = 70900023
L29_1 = {}
L29_1.x = 396.343
L29_1.y = -42.168
L29_1.z = 1.401
L28_1.pos = L29_1
L29_1 = {}
L29_1.x = 0.0
L29_1.y = 0.0
L29_1.z = 0.0
L28_1.rot = L29_1
L28_1.level = 1
L29_1 = {}
L29_1.config_id = 109
L29_1.gadget_id = 70900023
L30_1 = {}
L30_1.x = 395.984
L30_1.y = -42.168
L30_1.z = 6.405
L29_1.pos = L30_1
L30_1 = {}
L30_1.x = 0.0
L30_1.y = 0.0
L30_1.z = 0.0
L29_1.rot = L30_1
L29_1.level = 1
L30_1 = {}
L30_1.config_id = 110
L30_1.gadget_id = 70900023
L31_1 = {}
L31_1.x = 391.177
L31_1.y = -42.168
L31_1.z = 6.405
L30_1.pos = L31_1
L31_1 = {}
L31_1.x = 0.0
L31_1.y = 0.0
L31_1.z = 0.0
L30_1.rot = L31_1
L30_1.level = 1
L31_1 = {}
L31_1.config_id = 111
L31_1.gadget_id = 70900023
L32_1 = {}
L32_1.x = 386.27
L32_1.y = -42.168
L32_1.z = 6.405
L31_1.pos = L32_1
L32_1 = {}
L32_1.x = 0.0
L32_1.y = 0.0
L32_1.z = 0.0
L31_1.rot = L32_1
L31_1.level = 1
L32_1 = {}
L32_1.config_id = 112
L32_1.gadget_id = 70900023
L33_1 = {}
L33_1.x = 386.215
L33_1.y = -42.168
L33_1.z = 11.347
L32_1.pos = L33_1
L33_1 = {}
L33_1.x = 0.0
L33_1.y = 0.0
L33_1.z = 0.0
L32_1.rot = L33_1
L32_1.level = 1
L33_1 = {}
L33_1.config_id = 113
L33_1.gadget_id = 70900023
L34_1 = {}
L34_1.x = 378.538
L34_1.y = -42.168
L34_1.z = 1.689
L33_1.pos = L34_1
L34_1 = {}
L34_1.x = 0.0
L34_1.y = 0.0
L34_1.z = 0.0
L33_1.rot = L34_1
L33_1.level = 1
L34_1 = {}
L34_1.config_id = 114
L34_1.gadget_id = 70900023
L35_1 = {}
L35_1.x = 378.549
L35_1.y = -42.168
L35_1.z = 6.585
L34_1.pos = L35_1
L35_1 = {}
L35_1.x = 0.0
L35_1.y = 0.0
L35_1.z = 0.0
L34_1.rot = L35_1
L34_1.level = 1
L35_1 = {}
L35_1.config_id = 115
L35_1.gadget_id = 70900023
L36_1 = {}
L36_1.x = 378.6
L36_1.y = -42.168
L36_1.z = 11.532
L35_1.pos = L36_1
L36_1 = {}
L36_1.x = 0.0
L36_1.y = 0.0
L36_1.z = 0.0
L35_1.rot = L36_1
L35_1.level = 1
L36_1 = {}
L36_1.config_id = 116
L36_1.gadget_id = 70900023
L37_1 = {}
L37_1.x = 378.601
L37_1.y = -42.168
L37_1.z = 16.467
L36_1.pos = L37_1
L37_1 = {}
L37_1.x = 0.0
L37_1.y = 0.0
L37_1.z = 0.0
L36_1.rot = L37_1
L36_1.level = 1
L37_1 = {}
L37_1.config_id = 190
L37_1.gadget_id = 70900202
L38_1 = {}
L38_1.x = 387.502
L38_1.y = -27.302
L38_1.z = 3.46
L37_1.pos = L38_1
L38_1 = {}
L38_1.x = 0.0
L38_1.y = 90.08
L38_1.z = 0.0
L37_1.rot = L38_1
L37_1.level = 1
L38_1 = {}
L38_1.config_id = 6001
L38_1.gadget_id = 70360016
L39_1 = {}
L39_1.x = 376.546
L39_1.y = -32.776
L39_1.z = 3.89
L38_1.pos = L39_1
L39_1 = {}
L39_1.x = 0.0
L39_1.y = 180.0
L39_1.z = 90.0
L38_1.rot = L39_1
L38_1.level = 1
L39_1 = {}
L39_1.config_id = 6002
L39_1.gadget_id = 70360016
L40_1 = {}
L40_1.x = 377.293
L40_1.y = -32.642
L40_1.z = 0.978
L39_1.pos = L40_1
L40_1 = {}
L40_1.x = 0.0
L40_1.y = 180.0
L40_1.z = 90.0
L39_1.rot = L40_1
L39_1.level = 1
L40_1 = {}
L40_1.config_id = 6003
L40_1.gadget_id = 70360016
L41_1 = {}
L41_1.x = 377.404
L41_1.y = -27.276
L41_1.z = 0.979
L40_1.pos = L41_1
L41_1 = {}
L41_1.x = 0.0
L41_1.y = 180.0
L41_1.z = 90.0
L40_1.rot = L41_1
L40_1.level = 1
L41_1 = {}
L41_1.config_id = 6004
L41_1.gadget_id = 70360016
L42_1 = {}
L42_1.x = 381.224
L42_1.y = -27.325
L42_1.z = 0.336
L41_1.pos = L42_1
L42_1 = {}
L42_1.x = 90.0
L42_1.y = 0.0
L42_1.z = 0.0
L41_1.rot = L42_1
L41_1.level = 1
L42_1 = {}
L42_1.config_id = 6005
L42_1.gadget_id = 70380001
L43_1 = {}
L43_1.x = 380.42
L43_1.y = -40.869
L43_1.z = 18.729
L42_1.pos = L43_1
L43_1 = {}
L43_1.x = 0.0
L43_1.y = 0.0
L43_1.z = 0.0
L42_1.rot = L43_1
L42_1.level = 1
L42_1.route_id = 20010018
L42_1.start_route = false
L43_1 = {}
L43_1.config_id = 6012
L43_1.gadget_id = 70380001
L44_1 = {}
L44_1.x = 393.486
L44_1.y = -35.628
L44_1.z = 3.339
L43_1.pos = L44_1
L44_1 = {}
L44_1.x = 0.0
L44_1.y = 0.0
L44_1.z = 0.0
L43_1.rot = L44_1
L43_1.level = 1
L43_1.start_route = false
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
L1_1[19] = L20_1
L1_1[20] = L21_1
L1_1[21] = L22_1
L1_1[22] = L23_1
L1_1[23] = L24_1
L1_1[24] = L25_1
L1_1[25] = L26_1
L1_1[26] = L27_1
L1_1[27] = L28_1
L1_1[28] = L29_1
L1_1[29] = L30_1
L1_1[30] = L31_1
L1_1[31] = L32_1
L1_1[32] = L33_1
L1_1[33] = L34_1
L1_1[34] = L35_1
L1_1[35] = L36_1
L1_1[36] = L37_1
L1_1[37] = L38_1
L1_1[38] = L39_1
L1_1[39] = L40_1
L1_1[40] = L41_1
L1_1[41] = L42_1
L1_1[42] = L43_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1000009
L2_1.name = "GADGET_STATE_CHANGE_9"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_9"
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_9"
L3_1 = {}
L3_1.config_id = 1000010
L3_1.name = "GADGET_STATE_CHANGE_10"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_STATE_CHANGE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_10"
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_10"
L4_1 = {}
L4_1.config_id = 1000049
L4_1.name = "CLIENT_EXECUTE_49"
L5_1 = EventType
L5_1 = L5_1.EVENT_CLIENT_EXECUTE
L4_1.event = L5_1
L4_1.source = "ElectricSwitch_Hit"
L4_1.condition = "condition_EVENT_CLIENT_EXECUTE_49"
L4_1.action = "action_EVENT_CLIENT_EXECUTE_49"
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = true
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 42
L5_1 = 43
L6_1 = 44
L7_1 = 46
L8_1 = 47
L9_1 = 48
L10_1 = 50
L11_1 = 51
L12_1 = 53
L13_1 = 54
L14_1 = 84
L15_1 = 85
L16_1 = 89
L17_1 = 92
L18_1 = 96
L19_1 = 97
L20_1 = 98
L21_1 = 99
L22_1 = 100
L23_1 = 101
L24_1 = 102
L25_1 = 103
L26_1 = 104
L27_1 = 105
L28_1 = 106
L29_1 = 107
L30_1 = 108
L31_1 = 109
L32_1 = 110
L33_1 = 111
L34_1 = 112
L35_1 = 113
L36_1 = 114
L37_1 = 115
L38_1 = 116
L39_1 = 6001
L40_1 = 6002
L41_1 = 6003
L42_1 = 6004
L43_1 = 6005
L44_1 = 6012
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L3_1[10] = L13_1
L3_1[11] = L14_1
L3_1[12] = L15_1
L3_1[13] = L16_1
L3_1[14] = L17_1
L3_1[15] = L18_1
L3_1[16] = L19_1
L3_1[17] = L20_1
L3_1[18] = L21_1
L3_1[19] = L22_1
L3_1[20] = L23_1
L3_1[21] = L24_1
L3_1[22] = L25_1
L3_1[23] = L26_1
L3_1[24] = L27_1
L3_1[25] = L28_1
L3_1[26] = L29_1
L3_1[27] = L30_1
L3_1[28] = L31_1
L3_1[29] = L32_1
L3_1[30] = L33_1
L3_1[31] = L34_1
L3_1[32] = L35_1
L3_1[33] = L36_1
L3_1[34] = L37_1
L3_1[35] = L38_1
L3_1[36] = L39_1
L3_1[37] = L40_1
L3_1[38] = L41_1
L3_1[39] = L42_1
L3_1[40] = L43_1
L3_1[41] = L44_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_STATE_CHANGE_9"
L5_1 = "GADGET_STATE_CHANGE_10"
L6_1 = "CLIENT_EXECUTE_49"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L1_1[1] = L2_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = A1_2.param2
  if 48 == L2_2 then
    L2_2 = GadgetState
    L2_2 = L2_2.GearStart
    L3_2 = A1_2.param1
    if L2_2 == L3_2 then
      goto lbl_11
    end
  end
  L2_2 = false
  do return L2_2 end
  ::lbl_11::
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_9 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 43
  L5_2 = GadgetState
  L5_2 = L5_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.KillGroupEntity
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 220010005
  L5_2 = {}
  L4_2.monsters = L5_2
  L5_2 = {}
  L6_2 = 189
  L5_2[1] = L6_2
  L4_2.gadgets = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 190
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.StartPlatform
  L3_2 = A0_2
  L4_2 = 42
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : start_platform"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.StartPlatform
  L3_2 = A0_2
  L4_2 = 6005
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : start_platform"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_9 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = A1_2.param2
  if 53 == L2_2 then
    L2_2 = GadgetState
    L2_2 = L2_2.GearStart
    L3_2 = A1_2.param1
    if L2_2 == L3_2 then
      goto lbl_11
    end
  end
  L2_2 = false
  do return L2_2 end
  ::lbl_11::
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_10 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 44
  L5_2 = GadgetState
  L5_2 = L5_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.KillGroupEntity
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 220010006
  L5_2 = {}
  L4_2.monsters = L5_2
  L5_2 = {}
  L6_2 = 190
  L5_2[1] = L6_2
  L4_2.gadgets = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 0
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_10 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGadgetConfigId
  L3_2 = A0_2
  L4_2 = {}
  L5_2 = A1_2.source_eid
  L4_2.gadget_eid = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if 95 == L2_2 then
    L2_2 = true
    return L2_2
  end
end
condition_EVENT_CLIENT_EXECUTE_49 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 44
  L5_2 = GadgetState
  L5_2 = L5_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_CLIENT_EXECUTE_49 = L1_1
